﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WoWConnecter.Entities
{
    public class Item
    {
        public uint DisplayId { get; private set; }
        public InventorySlotType Slot { get; private set; }
        public uint Enchant { get; private set; }

        public Item(RealmPacketIn packet)
        {
            DisplayId = packet.ReadUInt32();
            Slot = (InventorySlotType)packet.ReadByte();
            Enchant = packet.ReadUInt32();
        }
    }
}
